using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class BsOutorderEntity : EntityBase
{
public BsOutorderTable TableSchema
{
get
{
return (BsOutorderTable)_tableSchema;
}}

public BsOutorderEntity()
{
_tableSchema = BsOutorderTable.Current;
}

#region 属性列表

public String BillID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_BILLID)); }
set { SetData(BsOutorderTable.C_BILLID, value); }
}

public DateTime? BillDate
{
get { return Convert.ToDateTime(GetData(BsOutorderTable.C_BILLDATE)); }
set { SetData(BsOutorderTable.C_BILLDATE, value); }
}

public String WorkOrderNo
{
get { return Convert.ToString(GetData(BsOutorderTable.C_WORKORDERNO)); }
set { SetData(BsOutorderTable.C_WORKORDERNO, value); }
}

public String ScheduleID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_SCHEDULEID)); }
set { SetData(BsOutorderTable.C_SCHEDULEID, value); }
}

public String OutProcessID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_OUTPROCESSID)); }
set { SetData(BsOutorderTable.C_OUTPROCESSID, value); }
}

public String SupplierID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_SUPPLIERID)); }
set { SetData(BsOutorderTable.C_SUPPLIERID, value); }
}

public String BackMaterialID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_BACKMATERIALID)); }
set { SetData(BsOutorderTable.C_BACKMATERIALID, value); }
}

public String BackMaterialName
{
get { return Convert.ToString(GetData(BsOutorderTable.C_BACKMATERIALNAME)); }
set { SetData(BsOutorderTable.C_BACKMATERIALNAME, value); }
}

public Decimal? BackNums
{
get { return Convert.ToDecimal(GetData(BsOutorderTable.C_BACKNUMS)); }
set { SetData(BsOutorderTable.C_BACKNUMS, value); }
}

public Decimal? ProcessCost
{
get { return Convert.ToDecimal(GetData(BsOutorderTable.C_PROCESSCOST)); }
set { SetData(BsOutorderTable.C_PROCESSCOST, value); }
}

public String IsFinish
{
get { return Convert.ToString(GetData(BsOutorderTable.C_ISFINISH)); }
set { SetData(BsOutorderTable.C_ISFINISH, value); }
}

public String Status
{
get { return Convert.ToString(GetData(BsOutorderTable.C_STATUS)); }
set { SetData(BsOutorderTable.C_STATUS, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(BsOutorderTable.C_CREATEDATE)); }
set { SetData(BsOutorderTable.C_CREATEDATE, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_CREATEUSERID)); }
set { SetData(BsOutorderTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(BsOutorderTable.C_CREATEUSERNAME)); }
set { SetData(BsOutorderTable.C_CREATEUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(BsOutorderTable.C_MODIFYDATE)); }
set { SetData(BsOutorderTable.C_MODIFYDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_MODIFYUSERID)); }
set { SetData(BsOutorderTable.C_MODIFYUSERID, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(BsOutorderTable.C_MODIFYUSERNAME)); }
set { SetData(BsOutorderTable.C_MODIFYUSERNAME, value); }
}

public Decimal? ScheduleDetailID
{
get { return Convert.ToDecimal(GetData(BsOutorderTable.C_SCHEDULEDETAILID)); }
set { SetData(BsOutorderTable.C_SCHEDULEDETAILID, value); }
}

public Decimal? OutOrderNum
{
get { return Convert.ToDecimal(GetData(BsOutorderTable.C_OUTORDERNUM)); }
set { SetData(BsOutorderTable.C_OUTORDERNUM, value); }
}

public Decimal? BackOrderNum
{
get { return Convert.ToDecimal(GetData(BsOutorderTable.C_BACKORDERNUM)); }
set { SetData(BsOutorderTable.C_BACKORDERNUM, value); }
}

public String BackProcessID
{
get { return Convert.ToString(GetData(BsOutorderTable.C_BACKPROCESSID)); }
set { SetData(BsOutorderTable.C_BACKPROCESSID, value); }
}

#endregion
}
}